<script type="text/javascript">

    function do_open_layout(event, treeId, treeNode) {

        $(event.target).bjuiajax('doLoad', {url:treeNode.url, target:treeNode.divid})

        event.preventDefault()
    }

    function bringBack(id,name)
    {
        var paramId='${(paramId)!}';
        $('#templateId_'+paramId).val(id);
        $('#templateName_'+paramId).val(name);
        $.CurrentDialog.dialog('closeCurrent')
    }
</script>
<div class="bjui-pageContent">
    <div style="float:left; width:200px;">
        <ul id="layout-tree" class="ztree" data-toggle="ztree" data-expand-all="true" data-on-click="do_open_layout">
           <@p.treeUrl typeTree "/admin/templateshell/list?typeId=" "lookuplist"/>
        </ul>
    </div>


    <div id="lookuplist" style="margin-left:210px; height:99.9%; overflow:hidden;">
    </div>
</div>



